.bg-img {
    position: fixed;
    height: 100%;
    width: 100%;
    background: url('../images/login-bg.jpg') no-repeat center;
    background-size: cover;
    z-index: -1;
}

.content {
    position: absolute;
    left: 50%;
    top: 40%;
    width: 350px;
    padding: 40px 100px 50px 100px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, .5);
    box-shadow: 0px 0px 0px 10px rgba(255, 255, 255, .3);
    box-sizing: content-box;
    transform: translate(-50%, -50%);
    .title {
        margin-bottom: 20px;
        text-align: center;
        font-size: 35px;
        color: wheat;
    }
    .username,
    .password {
        position: relative;
        margin-bottom: 20px;
        span {
            position: absolute;
            top: 0px;
            left: 10px;
            line-height: 36px;
            font-size: 24px;
            color: #999;
            z-index: 2;
        }
    }
    .submit {
        text-align: center;
    }
    .nosubmit {
        text-align: center;
        span {
            color: #fff;
        }
    }
}
